﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NewOverride
{
    class Person
    {
        protected string userName = "xier";

        public virtual void GetInfo()
        {
            Console.WriteLine("Info来自于Person");
        }

        public void GetName()
        {
            Console.WriteLine("Name来自于Person");
        }
    }
}
